

export const config = {
    baseURL: 'http://47.97.154.24:9766',
    uploadURL: 'http://47.97.154.24:9766',
    timeout: 10000,
    tokenKey: 'Token',
    prefix: '/wms-cus-api',
    requestCode: {
        noToken: 10020,
        error: 10004,
        success: 0,
        restToken: 10021,
    }
    // 局部优先级高于全局，返回当前请求的task,options。请勿在此处修改options。非必填
    // getTask: (task, options) => {
    // 相当于设置了请求超时时间500ms
    //   setTimeout(() => {
    //     task.abort()
    //   }, 500)
    // },
}

// 全局单位
export const BASE_UNIT = {
    icon: '¥',
    iconText: '元'
}